INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})

SET(projecttree_SOURCES projecttree.cpp projecttreeplugin.cpp)
SET(projecttree_HEADERS projecttree.h projecttreeplugin.h)
SET(projecttree_FORMS projecttree.ui)

QT4_WRAP_CPP(projecttree_HEADERS_MOC ${projecttree_HEADERS})
QT4_WRAP_UI(projecttree_FORMS_H ${projecttree_FORMS})

ADD_LIBRARY(TryProjectTree SHARED ${projecttree_SOURCES} ${projecttree_HEADERS_MOC} ${projecttree_FORMS_H})

TARGET_LINK_LIBRARIES(TryProjectTree ${QT_LIBRARIES})
TARGET_LINK_LIBRARIES(TryProjectTree TrySandboxCore)
